//
//  BadminMoneyHeader.m
//  DistributorAB
//
//  Created by 主事丫环 on 2019/5/22.
//  Copyright © 2019 主事丫环. All rights reserved.
//

#import "BadminMoneyHeader.h"

@implementation BadminMoneyHeader
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self = [[[NSBundle mainBundle] loadNibNamed:@"BadminMoneyHeader" owner:self options:nil] lastObject];
        self.frame = frame;
        
    }
    return self;
}

- (IBAction)shenqingjiesuna:(UIButton *)sender {
    if (self.mybloc) {
        self.mybloc(@"0");
    }
}
- (IBAction)jinriAction:(UIButton *)sender {
    if (self.mybloc) {
        self.mybloc(@"1");
    }
}

- (IBAction)dangqian:(UIButton *)sender {
    if (self.mybloc) {
        self.mybloc(@"2");
    }
}
- (IBAction)lishi:(UIButton *)sender {
    if (self.mybloc) {
        self.mybloc(@"3");
    }
}

@end
